function riempiMetaMenu(loggato){
var notLoggedValue=
'<h3>Meta</h3>'+
'<ul><li><a href="#">Chi Siamo</a></li>'+
'<li><a href="#" title="Syndicate this site using RSS 2.0">Informazioni<abbr title="Really Simple Syndication">RSS</abbr></a></li>'+
'<li><a href="#" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li>'+
'</ul>';

var loggedValue='<h3>Meta</h3>'+
'<ul>'+
'<li><a href="#">Logout</a></li>'+
'<li>Estratto conto :<abbr title="Really Simple Syndication">RSS</abbr></a></li>'+
'<li><a href="#" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li>'+
'</ul>';
var meta=document.getElementById("cmeta");
	if(loggato)
		meta.innerHtml(loggedValue)
	else meta.innerHtml(notLoggedValue) 	
}

function riempiComingSoon(){
var films='<h3>Coming Soon...</h3>'+'<ul>';
var xmlhttp;
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
		var tmp=new Array();
		tmp=xmlhttp.responseText.split("#");
		for(var i=0;i<tmp.length-1;i++)
			films+='<li><a href='CaricaDatiFilm.php?title='+tmp[i].split("@")[0]'+'&year='+tmp[i].split("@")[1]' title='tmp[i]'>tmp[i]</a></li>';
		films+='</ul>';
    document.getElementById("recent-posts-3").innerHTML=films;
    }
  }
xmlhttp.open("GET","ComingSoon.php",true);
xmlhttp.send();
}